#ifndef INTERFACE_H
#define INTERFACE_H

int __plgn_add_item(const char *name, int type);
//Pre:
//Post:  Adds the item to the iconview.



void
		on_open_activate                     (GtkMenuItem     *menuitem,
		gpointer         user_data);

void
		on_icn_list_item_activated             (GtkIconView     *iconview,
		GtkTreePath     *path,
		gpointer         user_data);

gboolean
		on_icn_list_activate_cursor_item       (GtkIconView     *iconview,
		gpointer         user_data);

void
		on_icn_list_select_cursor_item         (GtkIconView     *iconview,
		gpointer         user_data);

void
		on_icn_list_drag_begin                 (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		gpointer         user_data);

void
		on_icn_list_drag_data_delete           (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		gpointer         user_data);

void
		on_icn_list_drag_data_get              (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		GtkSelectionData *data,
		guint            info,
		guint            time,
		gpointer         user_data);

void
		on_icn_list_drag_data_received         (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		gint             x,
		gint             y,
		GtkSelectionData *data,
		guint            info,
		guint            time,
		gpointer         user_data);

gboolean
		on_icn_list_drag_drop                  (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		gint             x,
		gint             y,
		guint            time,
		gpointer         user_data);

void
		on_icn_list_drag_end                   (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		gpointer         user_data);

void
		on_icn_list_drag_leave                 (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		guint            time,
		gpointer         user_data);

gboolean
		on_icn_list_drag_motion                (GtkWidget       *widget,
		GdkDragContext  *drag_context,
		gint             x,
		gint             y,
		guint            time,
		gpointer         user_data);

gboolean
		on_icn_list_button_release_event       (GtkWidget       *widget,
		GdkEventButton  *event,
		gpointer         user_data);

void
		on_create_activate                     (GtkMenuItem     *menuitem,
		gpointer         user_data);

static gint
		my_popup_handler (GtkWidget *widget, GdkEvent *event);

#endif